home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3rect.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_RECT_H = 1;
- include("oops/r3vector.js")
- include("real/objects/r3prim.js")
-
-
- var R3CLID_RECT = 151;
-
-
-
-
- R3RECTA_P0 = 151501;
- function SetR3RECTA_P0(value) {
- R3Set(this.r3obj, R3RECTA_P0, value, R3TID_VECTOR, 0);
- }
-
- function GetR3RECTA_P0() {
- return R3Get(this.r3obj, R3RECTA_P0, R3TID_VECTOR, 0);
- }
-
- R3RECTA_P1 = 151502;
- function SetR3RECTA_P1(value) {
- R3Set(this.r3obj, R3RECTA_P1, value, R3TID_VECTOR, 0);
- }
-
- function GetR3RECTA_P1() {
- return R3Get(this.r3obj, R3RECTA_P1, R3TID_VECTOR, 0);
- }
-
- R3RECTA_P2 = 151503;
- function SetR3RECTA_P2(value) {
- R3Set(this.r3obj, R3RECTA_P2, value, R3TID_VECTOR, 0);
- }
-
- function GetR3RECTA_P2() {
- return R3Get(this.r3obj, R3RECTA_P2, R3TID_VECTOR, 0);
- }
-
- R3RECTA_Width = 151504;
- function SetR3RECTA_Width(value) {
- R3Set(this.r3obj, R3RECTA_Width, value, R3TID_FLOAT, 0);
- }
-
- function GetR3RECTA_Width() {
- return R3Get(this.r3obj, R3RECTA_Width, R3TID_FLOAT, 0);
- }
-
- R3RECTA_Height = 151505;
- function SetR3RECTA_Height(value) {
- R3Set(this.r3obj, R3RECTA_Height, value, R3TID_FLOAT, 0);
- }
-
- function GetR3RECTA_Height() {
- return R3Get(this.r3obj, R3RECTA_Height, R3TID_FLOAT, 0);
- }
-
- R3RECTA_Infinite = 151506;
- function SetR3RECTA_Infinite(value) {
- R3Set(this.r3obj, R3RECTA_Infinite, value, R3TID_INTEGER, 0);
- }
-
- function GetR3RECTA_Infinite() {
- return R3Get(this.r3obj, R3RECTA_Infinite, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Rect () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_RECT, arguments);
- }
- // Attributes
- this.GetP0=GetR3RECTA_P0;
- this.SetP0=SetR3RECTA_P0;
- this.GetP1=GetR3RECTA_P1;
- this.SetP1=SetR3RECTA_P1;
- this.GetP2=GetR3RECTA_P2;
- this.SetP2=SetR3RECTA_P2;
- this.GetWidth=GetR3RECTA_Width;
- this.SetWidth=SetR3RECTA_Width;
- this.GetHeight=GetR3RECTA_Height;
- this.SetHeight=SetR3RECTA_Height;
- this.GetInfinite=GetR3RECTA_Infinite;
- this.SetInfinite=SetR3RECTA_Infinite;
- }
-
- r3Rect.prototype=new r3Primitive;
- // r3rect.h_H